<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class StaticPage_Controller extends CI_Controller {
	
	function __construct()
    {
		parent::__construct();
    }
	
	public function index()
	{
		
	}
	
	public function show_disclaimer()
	{
		$this->html_meta['robots'] = 'nofollow,noindex';
		$this->template->write_view('header', 'header_detail_block', NULL, FALSE);
		$this->template->write_view('content', 'disclaimer_block', NULL, FALSE);
		// $this->output->cache(525600);
		$this->render_template = TRUE;	
			
	}
	public function show_privacy_policy()
	{
		$this->html_meta['robots'] = 'nofollow,noindex';
		$this->template->write_view('header', 'header_detail_block', NULL, FALSE);
		$this->template->write_view('content', 'privacy_policy_block', NULL, FALSE);
		// $this->output->cache(525600);
		$this->render_template = TRUE;	
			
	}
	
	public function show_about_us()
	{
		$this->html_meta['robots'] = 'nofollow,noindex';
		$this->template->write_view('header', 'header_detail_block', NULL, FALSE);
		$this->template->write_view('content', 'about_us_block', NULL, FALSE);
		// $this->output->cache(525600);
		$this->render_template = TRUE;	
			
	}
	public function show_search()
	{
		$this->template->write_view('header', 'header_search_block', NULL, FALSE);
		$this->template->write_view('content', 'search_result_block', NULL, FALSE);
		$this->render_template = TRUE;	
			
	}
	
	public function show_whatischristmas()
	{
		$this->html_meta['robots'] = 'follow,index';
		$this->template->write_view('header', 'header_detail_block', NULL, FALSE);
		$this->template->write_view('content', 'whatischristmas_block', NULL, FALSE);
		// $this->output->cache(525600);
		$this->render_template = TRUE;	
			
	}
	
}

/* End of file staticpage_controller.php */
/* Location: ./application/controllers/staticpage_controller.php */